package com.example.exercise.demo.dao;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.exercise.demo.vo.AppReplyVO;
import com.example.exercise.demo.dao.entity.AppReplyEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* 回复表
*/
public interface AppReplyDAO {

    List<AppReplyEntity> findByWhere(Page<?> page, @Param("param") AppReplyVO appReplyVO);

    AppReplyEntity findByKey(@Param("param") AppReplyVO appReplyVO);

    int insert(@Param("param") AppReplyEntity appReplyEntity);

    int updateByKey(@Param("param") AppReplyEntity appReplyEntity);

    int deleteByKey(@Param("param") AppReplyVO appReplyVO);

}